import { service } from '@/service'
const baseUrl='/hbsys-system/sysDict/getManagerChild'

//支援藏/新疆/成渝建设
export const getDictZJ = () => {
  return service.request({
    url: `${baseUrl}/XZProjectCategory`,
    method: 'GET',
  })
}

//乡村振兴
export const getDictXCZX = () => {
  return service.request({
    url: `${baseUrl}/XCProjectCategory`,
    method: 'GET',
  })
}

//住所来源
export const getDictAbode = () => {
  return service.request({
    url: `${baseUrl}/abode`,
    method: 'GET',
  })
}
//执行会计制度
export const getDictAccounting = () => {
  return service.request({
    url: `${baseUrl}/accounting`,
    method: 'GET',
  })
}
//活动进行方式
export const getDictActivityOngoing = () => {
  return service.request({
    url: `${baseUrl}/activityOngoing`,
    method: 'GET',
  })
}
//活动类型
export const getDictActivityType = () => {
  return service.request({
    url: `${baseUrl}/activityType`,
    method: 'GET',
  })
}
//行政处罚
export const getDictAdministrativePenalty = () => {
  return service.request({
    url: `${baseUrl}/administrativePenalty`,
    method: 'GET',
  })
}
//年检结论
export const getDictAnnual = () => {
  return service.request({
    url: `${baseUrl}/annual`,
    method: 'GET',
  })
}
//票据种类
export const getDictBillType = () => {
  return service.request({
    url: `${baseUrl}/billType`,
    method: 'GET',
  })
}
//社团职务
export const getDictClubPositions = () => {
  return service.request({
    url: `${baseUrl}/clubPositions`,
    method: 'GET',
  })
}
//所属国家和地区
export const getDictCountry = () => {
  return service.request({
    url: `${baseUrl}/country`,
    method: 'GET',
  })
}
//设立方式
export const getDictEstablishWay = () => {
  return service.request({
    url: `${baseUrl}/establishWay`,
    method: 'GET',
  })
}
//评估结果
export const getDictEvaluationResults = () => {
  return service.request({
    url: `${baseUrl}/evaluationResults`,
    method: 'GET',
  })
}
//活动举办方式
export const getDictEventMethod = () => {
  return service.request({
    url: `${baseUrl}/eventMethod`,
    method: 'GET',
  })
}
//活动经费来源
export const getDictFinanceSource = () => {
  return service.request({
    url: `${baseUrl}/financeSource`,
    method: 'GET',
  })
}
//财务核算
export const getDictFinancialAccounting = () => {
  return service.request({
    url: `${baseUrl}/financialAccounting`,
    method: 'GET',
  })
}
//承接政府职能
export const getDictGovernmentalFunctions = () => {
  return service.request({
    url: `${baseUrl}/governmentalFunctions`,
    method: 'GET',
  })
}
//办理情况
export const getDictHandle = () => {
  return service.request({
    url: `${baseUrl}/handle`,
    method: 'GET',
  })
}
//行业分类
export const getDictIndustryClass = () => {
  return service.request({
    url: `${baseUrl}/industryClass`,
    method: 'GET',
  })
}
//国际组织类型
export const getDictInternationalOrg = () => {
  return service.request({
    url: `${baseUrl}/internationalOrg`,
    method: 'GET',
  })
}
//参与内部治理情况
export const getDictJoinInsideGovern = () => {
  return service.request({
    url: `${baseUrl}/joinInsideGovern`,
    method: 'GET',
  })
}
//机构类型
export const getDictOrgType = () => {
  return service.request({
    url: `${baseUrl}/orgType`,
    method: 'GET',
  })
}
//党组织隶属关系
export const getDictPartyAffiliation = () => {
  return service.request({
    url: `${baseUrl}/partyAffiliation`,
    method: 'GET',
  })
}
//政治面貌
export const getDictPolitics = () => {
  return service.request({
    url: `${baseUrl}/politics`,
    method: 'GET',
  })
}
//职级
export const getDictRank = () => {
  return service.request({
    url: `${baseUrl}/rank`,
    method: 'GET',
  })
}
//秘书长产生方式
export const getDictSecretaryPromotion = () => {
  return service.request({
    url: `${baseUrl}/secretaryPromotion`,
    method: 'GET',
  })
}
//整改情况
export const getDictsituation = () => {
  return service.request({
    url: `${baseUrl}/situation`,
    method: 'GET',
  })
}
//经费来源
export const getDictSourceFunding = () => {
  return service.request({
    url: `${baseUrl}/sourceFunding`,
    method: 'GET',
  })
}
//监事理事
export const getDictSupervisor = () => {
  return service.request({
    url: `${baseUrl}/supervisor`,
    method: 'GET',
  })
}
//党组织类型
export const getDictPartyOrg = () => {
  return service.request({
    url: `${baseUrl}/typePartyOrg`,
    method: 'GET',
  })
}
//单位性质
export const getDictNature = () => {
  return service.request({
    url: `${baseUrl}/unitNature`,
    method: 'GET',
  })
}
//学历
export const getDictXueli = () => {
  return service.request({
    url: `${baseUrl}/xueli`,
    method: 'GET',
  })
}
//住所所在区县
export const getDictCounty = () => {
  return service.request({
    url: `${baseUrl}/county`,
    method: 'GET',
  })
}

//统一字典
export const getDictAll = (path) => {
  return service.request({
    url: `${baseUrl}/${path}`,
    method: 'GET',
  })
}

export default {
  getDictAll,
  getDictCounty,
  getDictZJ, getDictXCZX, getDictAbode, getDictAccounting, getDictActivityOngoing
  , getDictActivityType, getDictAdministrativePenalty, getDictAnnual, getDictBillType, getDictClubPositions,
  getDictCountry, getDictEstablishWay, getDictEvaluationResults, getDictEventMethod, getDictFinanceSource,
  getDictFinancialAccounting, getDictGovernmentalFunctions, getDictHandle, getDictIndustryClass, getDictInternationalOrg,
  getDictJoinInsideGovern, getDictOrgType, getDictPartyAffiliation, getDictPolitics, getDictRank, getDictSecretaryPromotion,
  getDictsituation,getDictSourceFunding,getDictSupervisor,getDictPartyOrg,getDictNature
}
  
